package com.infolab.aims.domain.workorder;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.infolab.aims.common.bean.AbstractModelBean;
import com.infolab.aims.domain.SystemCodeValue;

@Entity
@Table(name="AMTB_WORKORDER_ADHOC")
public class WorkOderAdHoc extends AbstractModelBean implements Serializable  {

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer workOrderAdHocId;
	
	@ManyToOne
	@JoinColumn(name="adHocId")
	private SystemCodeValue systemCodeValue;
	
	private String adHocRemarks;
	
	private String adHocStatus;
	
	private Date appointmentDate;
	
	private String taxiNo;
	
	@ManyToOne
	@JoinColumn(name="workOrderId")
	private WorkOrder workOrder;

	public Integer getWorkOrderAdHocId() {
		return workOrderAdHocId;
	}

	public void setWorkOrderAdHocId(Integer workOrderAdHocId) {
		this.workOrderAdHocId = workOrderAdHocId;
	}

	public SystemCodeValue getSystemCodeValue() {
		return systemCodeValue;
	}

	public void setSystemCodeValue(SystemCodeValue systemCodeValue) {
		this.systemCodeValue = systemCodeValue;
	}

	public String getAdHocRemarks() {
		return adHocRemarks;
	}

	public void setAdHocRemarks(String adHocRemarks) {
		this.adHocRemarks = adHocRemarks;
	}

	public String getAdHocStatus() {
		return adHocStatus;
	}

	public void setAdHocStatus(String adHocStatus) {
		this.adHocStatus = adHocStatus;
	}

	public Date getAppointmentDate() {
		return appointmentDate;
	}

	public void setAppointmentDate(Date appointmentDate) {
		this.appointmentDate = appointmentDate;
	}

	public String getTaxiNo() {
		return taxiNo;
	}

	public void setTaxiNo(String taxiNo) {
		this.taxiNo = taxiNo;
	}

	public WorkOrder getWorkOrder() {
		return workOrder;
	}

	public void setWorkOrder(WorkOrder workOrder) {
		this.workOrder = workOrder;
	}
	
	
}
